<?php
$id = "";
$nom = "";
$origine = "";
$description = "";
$img = "";
foreach ($detailproduct as $aRow):
    $id = $aRow['id'];
    $nom = $aRow['nom'];
    $origine = $aRow['originename'];
    $description = $aRow['description' . $langue['key']];
    $prix = $aRow['prix'];
    $img = $aRow['img'];
endforeach;
?>
<div id="wrapper-content">
    <div id="wrapper-information">
        <img src="<?php echo base_url() . 'assets/images/bordertl.png' ?>" style="position:absolute;top:0px;left:0px"/>
        <img src="<?php echo base_url() . 'assets/images/bordertr.png' ?>" style="position:absolute;top:0px;right:0px"/>
        <img src="<?php echo base_url() . 'assets/images/borderbr.png' ?>" style="position:absolute;bottom:0px;right:0px"/>
        <img src="<?php echo base_url() . 'assets/images/borderbl.png' ?>" style="position:absolute;bottom:0px;left:0px"/>
        <div id="information" align="left">
            <table >
                <tr >
                    <td width="150px" align="left" valign="top"><a id="example2" href="<?php echo base_url().'assets/productimg/'.$img?>"><img border="0" width="150px" alt="example2" src="<?php echo base_url().'assets/thumbs/'.$img?>" /></a></td>
                    <td align="left" valign="top">
                        <h1 id="nameproductdetail"><?php echo $nom; ?></h1>
                        <p>
                            <?php echo $langue['detailproduct_origine']; ?> : <?php echo $origine; ?><br/><br/>
<?php if ($prix != 0) {
                                echo $langue['detailproduct_prix'] . " : " . $prix . " &euro;";
                            } ?>
                            </p>
                        <?php if ($prix != 0) {
 ?>
                                <input type="text" name="product_qty" id="product_qty" value="1"/>
                                <a id="addcart" href="#"><img src="<?php echo base_url() . 'assets/images/commander.png' ?>" border="0" src=""/></a>
<?php } ?>
                        </td>
                    </tr>
                </table>
                <input type="hidden" name="product_id" id="product_id" value="<?php echo $id; ?>"/>
                <input type="hidden" name="product_prix" id="product_prix" value="<?php echo $prix; ?>"/>
                <input type="hidden" name="product_nom" id="product_nom" value="<?php echo $nom; ?>"/>
                <input type="hidden" name="product_img" id="product_img" value="<?php echo $img; ?>"/>
            </div>
            <!--END information-->
        </div>
        <!--END wrapper-information-->
        <div id="titre_list_produit"><?php echo $langue['detailproduct_profil']; ?></div>
        <div id="profildetail" align="left">
            <p><?php echo $description; ?>
        </p>
    </div>
    <!--END profildetail-->
</div>
<!--END wrapper-content-->